package com.jiangnan;

import com.jiangnan.constants.ThemeStyle;
import com.jiangnan.view.LoginFrame;

import javax.swing.*;

/**
 *
 * 启动
 * @author chenliang
 * @email wschenliang@aliyun.com
 */
public class App {

    public static void main(String[] args) {
        //设置主题
        try {
            UIManager.setLookAndFeel(ThemeStyle.defaultStyle);
        } catch (Exception e) {
            e.printStackTrace();
        }
        LoginFrame loginFrame = new LoginFrame();
        SwingUtilities.updateComponentTreeUI(loginFrame);
        loginFrame.setVisible(true);
    }

}
